<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<th:block th:replace="headfoot/head::head_common">引用公共的homefoot</th:block>
</head>

<body>
	<div class="container-fluid kj-form-container">
				<form
					id="paramterForm"
					class="form-horizontal validate kj-form-container-content"
					role="form"
					method="post"
					action="/system/parameter/save"
				>
					<input type="hidden" id="id" name="id" th:value="${entity?.id}" />
					
					<div class="from-group row has-feedback kj-form-title-button-bar">
						<div class="col-md-7">
							<button
								type="button"
								class="btn btn-default btn-sm action-ajax-form kj-btn-save"
							>
								<i class="iconfont icon-baocun"></i>&ensp;保存
							</button>
							<button
								type="button"
								class="btn btn-default btn-sm action-close-tab kj-btn-cancel"
							>
								<i class="iconfont icon-guanbi"></i>&ensp;取消
							</button>
						</div>
						<div class="col-md-5">
							<label class="col-md-6 control-label kj-form-title-button-bar-label">负责人： <span
								th:text="${entity?.createUserId != null ? entity?.createUserId : ''}"></span>
							</label> <label class="control-label kj-form-title-button-bar-label">创建时间：
								<span th:text="${entity?.createDate != null ? #dates.format(entity?.createDate, 'yyyy-MM-dd HH:mm:ss') : #dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd HH:mm:ss')}"></span>
							</label>
						</div>
					</div>

					<div class="card kj-form-container-card">
						<div class="card-header kj-form-container-card-header">
							<h4>
								<strong>参数详情</strong>
							</h4>
						</div>
						<div class="card-body kj-form-container-card-body">
							<div class="form-group">
								<label class="col-md-2 control-label kj-form-container-content-label">名称</label>
								<div class="col-md-3 validateDiv">
									<input
										class="form-control input-sm kj-form-container-content-input"
										name="name"
										type="text"
										data-rule-required="true" 
										autocomplete="off"
										placeholder="名称"
										th:value="${entity?.name}" />
								</div>
								<label class="col-md-2 control-label kj-form-container-content-label">代码</label>
								<div class="col-md-3 validateDiv">
									<input
										class="form-control input-sm kj-form-container-content-input"
										name="code"
										type="text"
										data-rule-required="true" 
										autocomplete="off"
										placeholder="代码"
										th:value="${entity?.code}" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label kj-form-container-content-label">是否可编辑</label>
								<div class="col-sm-3 validateDiv">
									<select
										id="editable"
										class="form-control input-sm kj-form-container-content-select"
									>
										<option>请选择</option>
										<option value="1">是</option>
										<option value="0">否</option>
									</select>
								</div>
							</div>
						</div>
					</div>
				</form>
	</div>

	 <th:block th:include="headfoot/foot::form_foot">引用公共的homefoot</th:block>


</body>
</html>